<?php

use Illuminate\Support\Facades\Route;

//=============================================================优惠券管理相关接口=======================================================================//
Route::get('coupon/index', 'CouponController@index');     // 列表页
Route::get('coupon/edit', 'CouponController@edit');     // 编辑页面
Route::get('coupon/page-data', 'CouponController@getPageData');     // 获取分页列表数据
Route::delete('coupon/delete', 'CouponController@delete');     // 删除
Route::delete('coupon/batch-delete', 'CouponController@batchDelete');     // 批量删除
Route::post('coupon/edit-detail', 'CouponController@addAndEditDetail');     // 编辑
Route::post('coupon/edit-status', 'CouponController@editStatus');     // 修改状态
Route::get('coupon/user-coupon-list', 'CouponController@userCouponList');     // 优惠券领取记录页面
Route::get('coupon/get-user-coupon-list', 'CouponController@getUserCouponList');     // 优惠券领取记录

Route::get('coupon/get-list', 'CouponController@getCouponList');     // 获取所有数据

